package com.myhome.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.myhome.domain.EntrustOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.myhome.vo.TradeEntrustOrderVo;

/**
*@Author QYiXin 
* @Date 2021 11 01 17 20
**/
public interface EntrustOrderService extends IService<EntrustOrder>{


        Page<EntrustOrder> findByPage(Page<EntrustOrder> page, Long userId, String symbol, Integer type);

        Page<TradeEntrustOrderVo> getHistoryEntrustOrder(Page<EntrustOrder> page, String symbol, Long userId);

    Page<TradeEntrustOrderVo> getEntrustOrder(Page<EntrustOrder> page, String symbol, Long userId);
}
